package com.hxalex.simulationhandle.accessbilityService.receiver.base;

import com.hxalex.simulationhandle.accessbilityService.base.Receiver;
import com.hxalex.simulationhandle.accessbilityService.manger.SearchManger;
import com.hxalex.simulationhandle.accessbilityService.manger.WifiManger;

/**
 * Created by hx_Alex on 2018/5/26.
 */

public class BaseReceiver implements Receiver {
    public  String FLAG="";
    public  boolean isPrintCommandMsg=false;
    public WifiManger wifiManger;
    public SearchManger searchManger;
    public boolean isComplete=false;
    protected onCommandComplete commandCompleteListener;
    public BaseReceiver(WifiManger wifiManger)
    {
        this.wifiManger=wifiManger;
    }
    public BaseReceiver(SearchManger searchManger)
    {
        this.searchManger=searchManger;
    }
    @Override
    public void doSomething() {
        
    }

    public void setOnCommandCompleteListener(onCommandComplete commandCompleteListener) {
        this.commandCompleteListener = commandCompleteListener;
    }
    
    public interface  onCommandComplete
    {
        void commandCompleteListener();
    }
}
